package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.ScenicSpot;
import cn.wolfcode.luowowo.article.query.SpotQuery;
import java.util.List;

public interface ScenicSpotMapper {
    int deleteByPrimaryKey(Long id);


    ScenicSpot selectByPrimaryKey(Long id);

    List<ScenicSpot> selectAll();


    List<ScenicSpot> selectTop5(Long destId);

    List<ScenicSpot> hotspot10(Long destId);

    List<ScenicSpot> selectForList(SpotQuery qo);

    List<ScenicSpot> selectByParentId(Long id);

    List<ScenicSpot> queryForList(Long uid);

    int queryForCount(Long uid);

    List<ScenicSpot> queryForTop5(Long uid);

    List<ScenicSpot> queryForTop3BySpotcomment();
}